package com.hao.tool.web.module.rbac.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * description
 *
 * @author RuiHaoZ on CMHK.fs
 * @date 2020-05-24 09:03
 */
@TableName("TB_MANAGER")
@Getter
@Setter
public class ManagerInfo {

    @TableId
    private String id;
    private String userName;
    private String account;
    private String passWord;
    private String accessToken;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
